package com.entor.model;

public class Fileinfo{
	
	private String tname;
	private Integer tid;
	private String oldFilename;
	private String newFilename;
	private String suffix;
	private Long fileSize;
	private String path;
	public Fileinfo() {}
	public Fileinfo(String tname, Integer tid, String oldFilename,
			String newFilename, String suffix, Long fileSize, String path) {
		super();
		this.tname = tname;
		this.tid = tid;
		this.oldFilename = oldFilename;
		this.newFilename = newFilename;
		this.suffix = suffix;
		this.fileSize = fileSize;
		this.path = path;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public Integer getTid() {
		return tid;
	}
	public void setTid(Integer tid) {
		this.tid = tid;
	}
	public String getOldFilename() {
		return oldFilename;
	}
	public void setOldFilename(String oldFilename) {
		this.oldFilename = oldFilename;
	}
	public String getNewFilename() {
		return newFilename;
	}
	public void setNewFilename(String newFilename) {
		this.newFilename = newFilename;
	}
	public String getSuffix() {
		return suffix;
	}
	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}
	public Long getFileSize() {
		return fileSize;
	}
	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	@Override
	public String toString() {
		return "Fileinfo [tname=" + tname + ", tid=" + tid + ", oldFilename="
				+ oldFilename + ", newFilename=" + newFilename + ", suffix="
				+ suffix + ", fileSize=" + fileSize + ", path=" + path + "]";
	}
}
